package com.donger.common.data.tenant;


import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.ArrayList;
import java.util.List;

@Data
@Configuration
@ConfigurationProperties(prefix = "boot.tenant")
public class TenantConfigProperties {

    private String column = "tenant_id";

    private List<String> tables = new ArrayList<>();
}
